summaryrefslogtreecommitdiff
path: root/src/pages/[locale]/news
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/[locale]/news')
-rw-r--r--src/pages/[locale]/news/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/[locale]/news/index.astro b/src/pages/[locale]/news/index.astro
index c64fbdb..8a6e322 100644
--- a/src/pages/[locale]/news/index.astro
+++ b/src/pages/[locale]/news/index.astro
@@ -24,7 +24,7 @@ export async function getStaticPaths() {
<div class="news-index">
{
allNewsInLocale.length > 0 ? (
- allNewsInLocale.map((item) => <NewsPreviewLink newsItem={item} />)
+ allNewsInLocale.map((item) => <NewsPreviewLink headingLevel="h2" newsItem={item} />)
) : (
<p>{t(tPage, { key: 'no-news' })}</p>
)